import request from "../utils/request";
// 获取订单列表
export async function getOrderList(params) {
    return await request.get('system/api/selectOrderPage', {params: params})
}
// 订单详情
export async function getOrderDetails(params) {
    return await request.get('system/api/getOrderDetails', {params})
}
// 订单详情-银行卡信息
export async function getOrderDetailsUserBank(params) {
    return await request.get('system/api/getUserBank', {params})
}
// 订单详情-个人信息
export async function getOrderDetailsUserInfo(params) {
    return await request.get('system/api/getUserInfo', {params})
}
// 订单详情-获取失败原因下拉
export async function getAuditList(params) {
    return await request.get('system/api/auditList', {params})
}
// 标记重点客户
export async function setMarkersOrder(params) {
    return await request.post('system/api/markersOrder', params)
}

// 发送短信
export async function orderSendSms(params) {
    return await request.post('system/api/sendSms', params)
}
// 发送邮件
export async function orderSendEmail(params) {
    return await request.post('system/api/sendEmail', params)
}
// 修改手机号
export async function updateUserPhone(params) {
    return await request.post('system/api/updateUserInfo', params)
}
// 订单修改
export async function updateOrder(params) {
    return await request.post('system/api/updateOrder', params)
}

// 订单修改银行卡
export async function updateBankCard(params) {
    return await request.post('system/api/updateBankCard', params)
}

// 订单审核
export async function orderExamine(params) {
    return await request.post('system/api/audit', params)
}
// 获取支付详情
export async function getPayDetails(params) {
    return await request.get('system/api/getVaCardListByOrderId', {params})
}
// 获取调单员工
export async function selectTransferUser(params) {
    return await request.get('system/api/selectTransferUser', {params})
}
// 调单所搜分单
export async function distributionSearch(params) {
    return await request.post('system/api/searchSingle', params)
}
// 调单所选分单
export async function distributionSelect(params) {
    return await request.post('system/api/chooseAllocation', params)
}
// 订单关闭
export async function orderClose(params) {
    return await request.post('system/api/orderClose', params)
}
// 问题反馈列表
export async function getUserProblem(params) {
    return await request.get('system/api/getUserProblem', {params})
}
// 问题反馈-修改已读
export async function updateIsRead(params) {
    return await request.post('system/api/updateIsRead', params)
}
// 问题反馈-添加备注
export async function addUserProblem(params) {
    return await request.post('system/api/updateUserProblem', params)
}
